from pydantic import BaseModel, Field
from typing import Optional, Dict, Any


from .comments import CommentBase,CommentCreate, ListComment,ItemComment
from .info_schema import *  # 添加这一行



class SensitiveReport(BaseModel):
    id: Optional[str] = Field('', description="业务id")
    type: Optional[str] = Field(..., description="报告类型")
    userId: Optional[str] = Field('', description="用户id")
    shopid: Optional[str] = Field('', description="店铺id")
    shopCode: Optional[str] = Field('', description="店铺编码")
    tenantid: Optional[str] = Field('', description="租户id")
    tenantCode: Optional[str] = Field('', description="租户编码")
    sensitiveDetails: list = Field([],description="敏感信息详情")
    
    class Config:
        from_attributes = True

